import request from '@/utils/request'

// 添加设备
export function addTask(data){
 
    return request({
      url: '/management/task/addTask',
      method: 'post',
      data: data
    })
  }
  // 查询列表
export function list(data){
    return request({
        url: '/management/task/list',
      method: 'get',
      params: data
    })
  }
  // 添加设备
export function updateTask(data){
 
  return request({
    url: '/management/task/updateTask',
    method: 'post',
    data: data
  })
}